package com.woniuxy.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author Leimin
 * @date 2022/04/27 11:09
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="产品模型")
public class Production {
    private int id;
    @ApiModelProperty(value="产品编码")
    private String material_code;
    @ApiModelProperty(value="产品名称")
    private String name;
    @ApiModelProperty(value="产品品牌")
    private String production_brand;
    @ApiModelProperty(value="产品类型")
    private String production_type;
    @ApiModelProperty(value="产品型号")
    private String model;
    @ApiModelProperty(value="计量单位")
    private String mesure_unit;
    @ApiModelProperty(value="定价")
    private BigDecimal price;
    @ApiModelProperty(value="是否成品")
    private String isEndproduct;
    @ApiModelProperty(value="存放仓库")
    private String warehousename;
    @ApiModelProperty(value="是否启用")
    private int isEnable;
    @ApiModelProperty(value="产品图片")
    private List<Images> images;
    private Date created_time;
    private int created_userid;
    private Date last_modified_time;
    private int last_modified_userid;
}

